package com.endpoint.member.feign;

import com.endpoint.common.utils.ResultBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Project: endpoint
 * @Name: ThirdPartyFeignService
 * @Author: Jack_Li
 * @Date: 2024/7/5 19:00
 */

@FeignClient(value = "endpoint-third-party")
public interface ThirdPartyFeignService {

    @GetMapping("/sms/sendCode")
    ResultBean sendCode(@RequestParam("phone") String phone, @RequestParam("code")String code);

}
